package com.atguigu.srb.mybatis.service.impl;

import com.atguigu.srb.mybatis.mapper.UserMapper;
import com.atguigu.srb.mybatis.pojo.User;
import com.atguigu.srb.mybatis.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lsyandwh:
 * @create 2022-11-26 18:56
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public List<User> getByIncludeName(String name) {
        return baseMapper.selectByIncludeName(name);
    }
}
